package com.bdk.middle.order.core.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author Reagan
 * @since 2021-03-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("e_order")
public class OrderEntity implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    @TableField("app_id")
    private String appId;

    @TableField("member_id")
    private String memberId;

    @TableField("order_no")
    private String orderNo;

    @TableField("transaction_no")
    private String transactionNo;

    @TableField("postage")
    private BigDecimal postage;

    @TableField("status")
    private Integer status;

    @TableField("delivery_date")
    private Date deliveryDate;

    @TableField("payment_method")
    private Integer paymentMethod;

    @TableField("payment_date")
    private Date paymentDate;

    @TableField("cancel_reason")
    private String cancelReason;

    @TableField("remarks")
    private String remarks;

    @TableField("create_date")
    private Date createDate;

    @TableField("is_delete")
    private Integer isDelete;


}
